<template>
	<div>
		<div ref="mybd1">
			学生名称 <input type="" name="xsmc" id="xxmc" value="" />
			家长电话 <input type="" name="jzdh" id="jzdh" value="" />
			<input type="button" name="" id="" value="报名" onclick="baoming()"/>
		</div>
		<div style="width: 100%; text-align: center;">
			<el-button type="primary" @click="submit">保存</el-button>
		</div>
	</div>
		
</template>
<script type="text/javascript">
	export default {
		props: ['params'],
		components: {
		},
		data() {
			return {
				bd:'',
//				imageUrl: '',
//				imgurl:this.$store.state.api + '/user/saveimg',
			}
		},
		methods: {
		
      submit(){
      			this.bd=this.$refs.mybd1
      			
      			var divlist = this.bd.innerHTML
				this.$emit('close', { cancel: true,type:'bd',list:divlist})
			}
		}
	}
</script>
<style lang="less" scoped>
	.avatar-uploader{
		text-align: center;
	}
	 .avatar-uploader .el-upload {
    border: 1px dashed #d9d9d9;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }
  .avatar-uploader .el-upload:hover {
    border-color: #409EFF;
  }
  .avatar-uploader-icon {
    font-size: 28px;
    color: #8c939d;
    width: 400px;
    height: 178px;
    line-height: 178px;
    text-align: center;
  }
  .avatar {
    width: 400px;
    display: block;
  }
</style>